package com.service.impl;

import com.mapper.PaperMapper;
import com.pojo.Paper;
import com.service.PaperService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PaperServiceImpl implements PaperService {

    @Autowired
    PaperMapper paperMapper;

    @Override
    public List<Paper> findAll() {
        return paperMapper.findAll();
    }
}
